using System;
using Abc.Core;
using Furion.DatabaseAccessor;
using Furion.DependencyInjection;
using Mapster;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Abc.Application
{
    /// <summary>
    /// Description 
    /// </summary>
    public class SecurityDto
    {

        ///<Summary>
        /// Id
        ///</Summary>
        public int Id { get; set; }
        ///<Summary>
        /// Name
        ///</Summary>
        public string Name { get; set; }
        ///<Summary>
        /// Code
        ///</Summary>
        public string Code { get; set; }
        ///<Summary>
        /// Level
        ///</Summary>
        public int Level { get; set; }
        ///<Summary>
        /// ParentId
        ///</Summary>
        public int ParentId { get; set; }
        ///<Summary>
        /// Sort
        ///</Summary>
        public int Sort { get; set; }
        ///<Summary>
        /// Url
        ///</Summary>
        public string Url { get; set; }
        ///<Summary>
        /// Icon
        ///</Summary>
        public string Icon { get; set; }
        ///<Summary>
        /// Remark
        ///</Summary>
        public string Remark { get; set; }
        ///<Summary>
        /// IsExpand
        ///</Summary>
        public bool IsExpand { get; set; }


        /// <summary>
        /// 节点类型(菜单、工具栏)
        /// </summary>
        public SecurityType Type { get; set; }

        public SecurityDto? Parent { get; set; }


        /// <summary>
        /// Controller
        /// </summary>
        public string Controller { get; set; }

        /// <summary>
        /// Action
        /// </summary>
        public string Action { get; set; }


    }




}
